#######################################################################
#                                                                     #
#      Enhanced Creativity in Autism is Due to Co-occurring ADHD      #
#                                                                     #
#                   Emily C. Taylor, Gosia Goclowska,                 #
#              Mitchell J. Callan, & Lucy A. Livingston               #
#                                                                     #
#        Journal of Psychopathology and Clinical Science, 2024        #
#                                                                     #
#######################################################################

                      **DOCUMENT INFORMATION**                  
          
+ Supplementary Data.csv:
    - DT_Fluency = Total number of ideas on the divergent thinking task
    - DT_Flexbility = Total number of idea categories on the divergent thinking task
    - DT_Originality = Total number of original ideas on the divergent thinking task
    - CAQ = Creative Achievement Questionnaire total scores
    - BICB = Biographical Inventory of Creativty Behaviors total scores
    - CPS = Creative Personality Scale total scores
    - CSE = Creatie Self Efficacy total scores
    - ICAR = International Cognitive Ability Resource test total scores
    - AQ = Autism Spectrum Quotient total scores
    - ASRS = Adult ADHD Self Report Scale total scores
    - ASD = Autism Diagnosis where 1 = Autism Diagnosis, 0 = No Autism Diagnosis
    - Sex = Sex assigned at birth where 1 = Male, 0 = Female
    - Age = Age in years
    - ADHD = ADHD Diagnosis where 1 = ADHD Diagnosis, 0 = No ADHD Diagnosis, Missing = Suspect ADHD Diagnosis
    - Sqrt_DT_Orinality = Square root of DT_Originality scores
    - Log_CAQ = Log base 10 of (CAQ scores + 1)
    - AQ_cutoff_filter = Filter of individuals who met additional AQ inclusion criteria as defined by dplyr::filter(data, (ASD == 1 & AQ >= 32) | (ASD == 0 & AQ < 26))

+ Analysis.R: 
    - R script of study analyses, see script comments for further details

+ R sessionInfo():

Analyses were conducted using the R Statistical language (version 4.2.0; R Core Team, 2022) on Windows 10 x 64 (build 19044)

Package     |   Version |                                                                                                                                                                                                                                                Reference
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
dplyr       |     1.1.2 | Wickham H, François R, Henry L, Müller K, Vaughan D (2023). dplyr: A Grammar of Data Manipulation. R package version 1.1.2, https://CRAN.R-project.org/package=dplyr.
psych       |     2.3.3 | Revelle W (2023). psych: Procedures for Psychological, Psychometric, and Personality Research. R package version 2.3.3,https://CRAN.R-project.org/package=psych.
R           |     4.2.0 | R Core Team (2022). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. https://www.R-project.org/.
robustbase  |    0.95-1 | Maechler M, Rousseeuw P, Croux C, Todorov V, Ruckstuhl A, Salibian-Barrera M, Verbeke T, Koller M, Conceicao E L, di Palma M A (2023). robustbase: Basic Robust Statistics R package version 0.95-1. http://CRAN.R-project.org/package=robustbase
rstatix     |     0.7.2 | Kassambara A (2023). rstatix: Pipe-Friendly Framework for Basic Statistical Tests. R package version 0.7.2, https://CRAN.R-project.org/package=rstatix.
sjPlot      |    2.8.14 | Lüdecke D (2023). sjPlot: Data Visualization for Statistics in Social Science. R package version 2.8.14, https://CRAN.R-project.org/package=sjPlot.


+ Bayesian Analysis.html
    - Output of Bayesian analyses conducted in JASP (version 0.17.2; JASP Team, 2023)
    - For further information on how to replicate the analyses in JASP using the R syntax, see https://jasp-stats.org/2023/03/06/r-syntax-mode-in-jasp-the-first-button/


